Meta description:
When performing an action that deals Piercing damage, the character may spend 3 SP to apply the Needle status effect to the affected target for 5 seconds. While Needle is active, each time the target uses a Move action, they suffer 1d4 Piercing Damage halfed by a successful free Vigor test. Reapplying Needle while it is already active resets the duration to 5 seconds; the effect does not stack.
-
Name:
mNeedleI
-
Displayed name:
Needle I
-
Description:
When performing an action that deals Piercing damage, the character may spend 3 SP to apply the Needle status effect to the affected target for 5 seconds. While Needle is active, each time the target uses a Move action, they suffer 1d4 Piercing Damage halfed by a successful free Vigor test. Reapplying Needle while it is already active resets the duration to 5 seconds; the effect does not stack.
-
Cost:
expCost(300,450)-0
-
Script:
-
Duration:
-1
-
Type:
0
-
Recurrent script:
-
Add ons:
-
Condition:
action:tagsContain([[piercingDamage]])
-
Description:
-
Variables:
vNeedleDamage = 1 vNeedleDuration = 5
-
Script:
-
Action effects:
-
Use case:
vApplyNeedle*3
-
Name:
Needle
-
Description:
You can spend 3 SP to inflict Needle for vNeedleDuration.string seconds (vNeedleDamage.string d4 Piercing damage / move).
-
Script:
if not character:has([[mNeedle]]) then mNeedle = character:createEffect([[mNeedle]]) mNeedle.displayName:set([[Needle]]) mNeedle.description:set([[Every time the creature perform a move action, they suffer {{vNeedleDamage}}d4 Piercing Damage halfed by a successful free Vigor test.]]) mNeedle:activate() end character.mNeedle.duration:set({{vNeedleDuration}})
-
Variables:
vApplyNeedle = ToggleVariable([[vApplyNeedle]],[[Needle]])
-
-
-
Upgrades:
-
Name:
mNeedleII
-
Displayed name:
Needle II
-
Description:
Increase the Needle duration to 7 seconds and the damage to 2d4 Piercing damage per move action.
-
Cost:
expCost(750,600)-150
-
Script:
master.displayName:set([[Needle II]]) master.description:replace([[5 seconds]],[[7 seconds]]) master.description:replace([[1d4]],[[2d4]]) master.addOns[1].variables:replace([[vNeedleDamage = 1]],[[vNeedleDamage = 2]]) master.addOns[1].variables:replace([[vNeedleDuration = 5]],[[vNeedleDuration = 7]])
-
Duration:
-1
-
Type:
0
-
Recurrent script:
-
Add ons:
-
Name:
mNeedleIII
-
Displayed name:
Needle III
-
Description:
Increase the Needle duration to 9 seconds and the damage to 3d4 Piercing damage per move action.
-
Cost:
expCost(1450,750)-375
-
Script:
master.displayName:set([[Needle III]]) master.description:replace([[7 seconds]],[[9 seconds]]) master.description:replace([[2d4]],[[3d4]]) master.addOns[1].variables:replace([[vNeedleDamage = 2]],[[vNeedleDamage = 3]]) master.addOns[1].variables:replace([[vNeedleDuration = 7]],[[vNeedleDuration = 9]])
-
Duration:
-1
-
Type:
0
-
Recurrent script:
-
Add ons:
-
Name:
mNeedleIV
-
Displayed name:
Needle IV
-
Description:
Increase the Needle duration to 11 seconds and the damage to 4d4 Piercing damage per move action.
-
Cost:
expCost(2350,850)-725
-
Script:
master.displayName:set([[Needle IV]]) master.description:replace([[9 seconds]],[[11 seconds]]) master.description:replace([[3d4]],[[4d4]]) master.addOns[1].variables:replace([[vNeedleDamage = 3]],[[vNeedleDamage = 4]]) master.addOns[1].variables:replace([[vNeedleDuration = 9]],[[vNeedleDuration = 11]])
-
Duration:
-1
-
Type:
0
-
Recurrent script:
-
Add ons:
-